#ifndef NODERECORD_H
#define NODERECORD_H

#include "prerequisites.h"

class NodeRecord
{
public:
	NodeRecord();
	~NodeRecord();

	void setCostSoFar(const double cost);
	double getCostSoFar() const;

	void setEstimatedCost(const double cost);
	double getEstimatedCost() const;

	void setNode(uint32 node);
	uint32 getNode() const;

	void setConnection(Connection* connection);
	Connection* getConnection() const;

	bool operator>(const NodeRecord& right) const;
	bool operator<(const NodeRecord& right) const;

private:
	double costSoFar_;
	double estimatedCosts_;
	uint32 node_;
	Connection* connection_;
};

#endif // NODERECORD_H
